package com.fr.report.core.cal;

import com.fr.report.CellElement;
import java.util.List;

class FamilyMember
{
  CellElement current;
  FamilyMember leftParent;
  FamilyMember upParent;
  List sons;

  FamilyMember(CellElement paramCellElement, FamilyMember paramFamilyMember1, FamilyMember paramFamilyMember2)
  {
    this.current = paramCellElement;
    this.leftParent = paramFamilyMember1;
    this.upParent = paramFamilyMember2;
  }

  public String toString()
  {
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append("{self:").append(this.current);
    if (this.leftParent != null)
      localStringBuffer.append(", left:").append(this.leftParent.current);
    if (this.upParent != null)
      localStringBuffer.append(", up:").append(this.upParent.current);
    localStringBuffer.append("}");
    return localStringBuffer.toString();
  }
}